package ch.trainingtest.service.implement;

import java.util.List;

import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.jws.WebService;

import ch.trainingtest.business.TaskHistoryManagementBean;
import ch.trainingtest.dto.TaskHistoryDto;
import ch.trainingtest.service.ITaskHistoryManagementService;

@WebService (serviceName = "taskHistoryManagementService", endpointInterface = "ch.trainingtest.service.ITaskHistoryManagementService")
@Stateless
public class TaskHistoryManagementService implements ITaskHistoryManagementService{

	@EJB
	private TaskHistoryManagementBean tasKHistoryManagementBean;
	
	public List<TaskHistoryDto> getAllHistoryOfTask(int taskID) {
		return tasKHistoryManagementBean.getAllHistoryOfTask(taskID);
	}

	
}
